package com.stu.dao;

import java.util.List;

import com.stu.domain.Customer;
import com.stu.exception.IdNullException;

public interface CustomerDao {
	public void addCustomer(Customer c);
	public void delCustomerById(String id); 
	public void updateCustomer(Customer c) throws IdNullException;
	@Deprecated
	public List<Customer> findAll();
	public Customer findCustomerById(String id);
	public int getTotalRecords();
	public List<Customer> findPageRecords(int startIndex,int pagesize);
}
